package com.levi.springextension;

import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;

/** 1
 * @author shentong
 * @since 2023/1/12 11:32
 * 容器刷新之前的回调接口
 * fixme 需要把该类通过spring spi机制加载进来
 *
 */
public class MyApplicationContextInitializer implements ApplicationContextInitializer {
    @Override
    public void initialize(ConfigurableApplicationContext applicationContext) {
        System.out.println("容器刷新之前的回调接口");
    }
}
